Installation Steps
******************

sudo apt-get install python-pip python-dev build-essential

sudo pip install django

sudo pip install Django --upgrade

(for latest Version)

sudo apt-get install python-mysqldb


Creating A Project
******************

Enter into Folder where website Project needs to be created

django-admin.py startproject itechtalents.com

To Start Django Server

python manage.py runserver

Mysql 
*****

sudo apt-get install mysql

mysql -u root -p

 mysql >  create database django

Configure Mysql DB in Django
****************************

Modify Settings.py in project and project (subfolder)

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
        'NAME': 'django',                      # Or path to database file if using sqlite3.
        'USER': 'root',                      # Not used with sqlite3.
        'PASSWORD': 'Support1',                  # Not used with sqlite3.
        'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
        'PORT': '3306',                      # Set to empty string for default. Not used with sqlite3.
    }



If you are in  ubuntu (linux/unix) you need to got to 
1) /usr/local/lib/python2.6/dist-packages
2) when you do ls there will be directory called django.
3) do rm -rf django.
By doing this django will be removed.Now you can install any version of django you want.


